package cn.itrip.dao.mapper;

import cn.itrip.beans.pojo.ItripAreaDic;
import cn.itrip.beans.vo.ItripAreaDicVo;

import java.util.List;

public interface ItripAreaDicMapper {

    /**
     * 根据id获取酒店特色
     * @param id
     * @return
     * @throws Exception
     */
    ItripAreaDic selectByPrimaryKey(Long id)throws  Exception;

    /**
     * 根据id获取热门城市
     * @param id
     * @return
     * @throws Exception
     */
    List<ItripAreaDic> selectHotcity(long id)throws  Exception;

    /**
     *根据parentID获取商圈
     * @param parent
     * @return
     * @throws Exception
     */
    List<ItripAreaDicVo> selectTradearea(Long parent)throws  Exception;


}